package singleton.hungry;

/**
 * @author Feng
 * @date 2019/3/10 13:53
 */
public class HungrySingleton {
    private static  final  HungrySingleton hungrySingleton = new HungrySingleton();

    private HungrySingleton(){}

    public static HungrySingleton getInstance(){
        System.out.println(hungrySingleton);
        return  hungrySingleton;
    }
}
